package com.xuecheng.orders.feignClient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author xiao
 * @Date 2024/12/25 下午 3:22
 * @ClassName: ContentFeign
 * @Description: 远程调用content
 */
@FeignClient(value = "content-api",fallbackFactory = ContentFeignFallBackFactory.class)
public interface ContentFeign {

    @PostMapping("/content/r/course/total")
    public Double getCoursePriceCount(@RequestBody Long[] ids);

}
